package org.sucri.floxs.model;

import javax.swing.table.AbstractTableModel;

/** An abstract class that take care most of the business for our annotation-based
 *  table model
 *
 * User: Wen Yu
 * Date: Aug 11, 2007
 * Time: 10:50:13 PM
 * To change this template use File | Settings | File Templates.
 */
abstract public class AnnotationTableModel$ extends AbstractTableModel
{
  // hold the data in a List. The column headers are produced from the annotations
  protected Accesor.Mode mMode = Accesor.Mode.getter;
  protected boolean mInheritedColumn = true;
  protected AnnotationFields mColModel = null;

  public AnnotationFields getColumnModel() { return mColModel; } 
  public int getColumnCount()
  {
    return mColModel != null ? mColModel.getGroups().size() : 0;
  }
}
